<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="/pages/templates/TemplateAdmin.xhtml">

	<ui:define name="titre">Fun With Videos</ui:define>
	<ui:define name="content">
		<h:head>
		</h:head>
		<h:body>

			<h:form>
			<fieldset>
				<legend>
					<strong>Ajout d'un tarif</strong>
				</legend>
				
					<table>
						<tr>
							<td>Libellé</td>
							<td><h:inputText id="libelle"
									value="#{mbCreationTarif.nouveauTarif.libelle}" required="true"></h:inputText>
								<h:message for="libelle" styleClass="Red" /></td>
						</tr>
						<tr>
							<td>Valide du :</td>
							<td><p:calendar
									value="#{mbCreationTarif.nouveauTarif.debutValiditeTarif}"
									navigator="true" id="popupButtonCal" /></td>
						</tr>
						<tr>
							<td>Jusqu'au :</td>
							<td><p:calendar
									value="#{mbCreationTarif.nouveauTarif.finValiditeTarif}"
									navigator="true" id="popupButtonCal2" /></td>
						</tr>
						<tr>
							<td>Prix :</td>
							<td><h:inputText id="prix"
									value="#{mbCreationTarif.nouveauTarif.prix}"></h:inputText>
								<h:message for="prix" styleClass="Red" /></td>
						</tr>
					</table>
				
			</fieldset>
			<div class="divBtn">
				<h:commandButton value="Ajouter tarif"
					action="#{mbCreationTarif.ajouterTarif}" class="btn"></h:commandButton>
			</div>
			<br />
		</h:form>
		</h:body>
	</ui:define>
</ui:composition>
